package com.personalblog.service;

import com.personalblog.po.User;
import com.personalblog.vo.UserPermissionVo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author jxau_scf
 * @date 2021/2/22 - 20:48
 */
public interface UserService {
    List<User> queryAll();

    User findUserByUsernameAndPassword(String username,String password);

    User findUserByUserName(String userName);

    List<UserPermissionVo> queryUserPermission(String userName);
}
